<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" custReport="width=device-width, initial-scale=1.0">
    <meta name="renderer" custReport="webkit">
    <meta http-equiv="X-UA-Compatible" custReport="ie=edge">
    <link href="../../../eui/plugins/layui/css/layui.css" rel="stylesheet" media="all"/>
    <link href="../../../eui/css/components.min.css" rel="stylesheet" media="all"/>
    <link href="../../../eui/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" media="all"/>
</head>

<body>
	<script src="../../../eui/js/base.js"></script>
	<script src="../../../eui/plugins/layui/layui.js"></script>
	<script src="../../../eui/plugins/jquery.min.js"></script>
	<script src="edit.js"></script>

    <form id="lForm" class="layui-form layui-form-pane" lay-filter="lForm" style="padding-top: 10px;padding-left: 10px">
        <input type="hidden"  name="id" value="">
        <div class="layui-form-item">
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >指标名称</label>
				<div class="layui-input-inline">
					<input id="name" type="text" lay-verify="required" placeholder=""  name="name"  autocomplete="off"  class="layui-input" style="width:523px;">
				</div>
			</div>
         </div>
        <div class="layui-form-item">
			 <div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >关键字</label>
				<div class="layui-input-inline">
					<select id="keyword" name="keyword" lay-filter="keyword" lay-verify="required"></select>
				</div>
			</div>
			 <div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >统计数据来源</label>
				<div class="layui-input-inline">
					<select id="type" name="type" lay-filter="type" lay-verify="required"></select>
				</div>
			</div>
         </div>
        <div class="layui-form-item">
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >数据流</label>
				<div class="layui-input-inline" >
					<select id="dsId" name="dsId" lay-filter="dsId"></select>
				</div>
			</div>
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >数据字段</label>
				<div class="layui-input-inline" >
					<select id="statField" name="statField" lay-filter="statField"></select>
				</div>
			</div>
         </div>
        <div class="layui-form-item">
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >表达式</label>
				<div class="layui-input-inline" >
					<textarea type="text" name="expression"  autocomplete="off"  class="layui-input" style="width:523px; height: 100px"></textarea>
				</div>
			</div>
         </div>
		<div class="layui-form-item">
			 <div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >数据窗口类型</label>
				<div class="layui-input-inline">
					<select id="dataWindowType" name="dataWindowType" lay-filter="dataWindowType" lay-verify="required"></select>
				</div>
			</div>
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >统计函数</label>
				<div class="layui-input-inline" >
					<select id="statFunc" name="statFunc" lay-filter="statFunc"></select>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >数据窗口大小</label>
				<div class="layui-input-inline" >
					<input type="text" lay-verify="required" placeholder=""  name="dataWindowSize"  autocomplete="off"  class="layui-input">
				</div>
			</div>
			 <div id="tarea" class="layui-inline" style="display:none;">
				<label class=" layui-form-label" style="width:120px;" >时间窗口单位</label>
				<div class="layui-input-inline">
					<select id="timeWindowUnit" name="timeWindowUnit" lay-filter="timeWindowUnit"></select>
				</div>
			</div>
			 <div id="parea" class="layui-inline" style="display:none;">
				<label class=" layui-form-label" style="width:120px;" >优先级策略</label>
				<div class="layui-input-inline" >
					<select id="priorityStrategy" name="priorityStrategy" lay-filter="priorityStrategy"></select>
				</div>
			</div>
		</div>
        <div class="layui-form-item">
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >输出类型</label>
				<div class="layui-input-inline" >
					<select id="outputType" name="outputType" lay-filter="outputType"></select>
				</div>
			</div>
			<div class="layui-inline">
				<label class=" layui-form-label" style="width:120px;" >优先级</label>
				<div class="layui-input-inline" >
					<input type="text" lay-verify="required" placeholder=""  name="priority"  autocomplete="off"  class="layui-input" >
				</div>
			</div>
         </div>
	    <div class="layui-form-item" style="padding-top: 20px;text-align: center">
			<div>
				<button type="button" class="layui-btn layui-btn-primary" onclick="closePage()">取消</button>
				<button class="layui-btn" lay-submit lay-filter="save">保存</button>
			</div>
		</div>
    </form>
</body>
</html>